package com.chat.login.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chat.common.entity.UserFeedback;
import com.chat.login.domain.dto.UserFeedbackDTO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author weikjie
 * @since 2024-05-13
 */
public interface IUserFeedbackService extends IService<UserFeedback> {

    /**
     * 获取当前账号的反馈列表
     * @param account
     * @return
     */
    List<UserFeedback> getUserFeedbacksList(String account);

    /**
     * 添加反馈
     * @param userFeedbackDTO
     * @return
     */
    Integer addUserFeedback(UserFeedbackDTO userFeedbackDTO);

}
